import request from '@/utils/request.js'
import { useTokenStore } from '@/stores/token'

// 添加提交反馈的API
export const submitFeedback = (data) => {
    const tokenStore = useTokenStore()
    return request.post('/user/call', data, {
        headers: { 'Authorization': tokenStore.token }
    })
}